package com.jx.driving.response;

import com.jx.driving.domain.GnssPackage;
import com.jx.driving.message.TimeTerminalResponseMessage;
import com.jx.driving.protocol.terminal.annotation.ObjectAnnotation;
import com.jx.driving.protocol.terminal.annotation.TerminalAnnotation;

/**
 * 位置信息查询应答
 * 
 * @author shenliuyang
 *
 *         2016年8月14日下午3:55:31
 */
@TerminalAnnotation
public class Terminal0x0201Response extends TimeTerminalResponseMessage {
    @ObjectAnnotation(order = 1)
    private GnssPackage gnss;

    public GnssPackage getGnss() {
	return gnss;
    }

    public void setGnss(GnssPackage gnss) {
	this.gnss = gnss;
    }

    @Override
    public String toString() {
	StringBuilder builder = new StringBuilder();
	builder.append("Terminal0x0201Response [gnss=").append(gnss).append("]");
	return builder.toString();
    }

}
